home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 19 / Amiga Format CD19 (1997-10-02)(Future Publishing)(GB)(Track 1 of 5)[!][issue 1997-11].iso / -seriously_amiga- / shareware / misc / virtualmem / include / clib / virtualmem_protos.h
C/C++ Source or Header  |  1997-08-18  |  822b  |  34 lines

  1. #ifndef CLIB_VIRTUALMEM_PROTOS_H
  2. #define CLIB_VIRTUALMEM_PROTOS_H
  3.  
  4. /*
  5. **    $VER: virtualmem_protos.h 1.2 (7.8.1997)
  6. */
  7.  
  8. #ifndef EXEC_TYPES_H
  9. #include <exec/types.h>
  10. #endif
  11.  
  12. #ifndef LIBRARIES_VIRTUALMEM_H
  13. #include <libraries/virtualmem.h>
  14. #endif
  15.  
  16. APTR CreateVMem(ULONG size,ULONG bits,LONG pri,ULONG virtualbits);
  17. VOID RemoveVMem(APTR handle);
  18. APTR LockVMem(APTR handle);
  19. VOID UnlockVMem(APTR handle);
  20.  
  21. /* These two functions are private - use them at your own risk. */
  22. BOOL PageOut(APTR handle);
  23. BOOL PageIn(APTR handle);
  24.  
  25. VOID ChangeVMemPri(APTR handle,LONG newpri);
  26. BOOL FlushVMem(ULONG attrs);
  27. APTR MakeVMem(APTR memory,ULONG size,ULONG flags,ULONG virtualflags);
  28. VOID GetVMemInfo(struct VMemStat *info);
  29. VOID AutoAdjustPri(APTR *handlearray);
  30. ULONG SetVMemFlags(APTR handle,ULONG flags);
  31. VOID UpdateVMemPrefs();
  32.  
  33. #endif
  34.